package com.cn.prince.log.service;

import com.cn.prince.log.entity.Example;
import com.cn.prince.service.IService;
import org.springframework.stereotype.Service;

import java.util.UUID;

/**
 * @author wangjiansong
 * @title: ExampleService
 * @projectName prince-log
 * @description: TODO
 * @date 2022-02-12 15:02
 */
@Service
public class ExampleService  implements IService<Example,String> {

    public Example selectById(String id) {
        Example example=new Example();
        example.setId("test");
        //模拟更新 每次数据不一样
        example.setName(UUID.randomUUID().toString());
        return example;
    }
}
